package net.goutalk.glcs.module.system.service;

import com.github.yulichang.base.MPJBaseService;
import net.goutalk.glcs.common.page.PageInput;
import net.goutalk.glcs.common.page.PageOutput;
import net.goutalk.glcs.module.system.entity.CodeRule;
import net.goutalk.glcs.module.system.vo.CodeRuleVo;

import java.util.List;

/**
 * <p>
 * 编号规则表 服务类
 * </p>
 *
 * @author zlf
 * @since 2022-06-23
 */
public interface ICodeRuleService extends MPJBaseService<CodeRule> {

    PageOutput<CodeRuleVo> getCodeRulePageList(PageInput dto);

    String genEncode(String encode);

    boolean useEncode(String encode);

    boolean useEncode(List<String> encodeList);
}
